#ifndef _TILEINFOPANEL_
#define _TILEINFOPANEL_

#include "Utilities/StringHelper.hpp"
#include "SFML/Graphics.hpp"
#include "Graphics/Graphics.hpp"

/** 
* Panel that displays information about the tile currently being hovered over.
*/
class TileInfoPanel:public Panel{
private:
    Label title;
    
    Label properties;
    IconButton propertyIcon;
    RenderedSprite propertySprite;
    
    Label layers[LAYERS];
    Label spriteNames[LAYERS];
    IconButton tileSprites[LAYERS];

public:
    SpriteManager* spriteManager;
    SpriteManager* editorSprites;

    TileInfoPanel();

    void setTile(Tile& tile, int tileRow, int tileCol);
};

#endif